<h1>Editing news_offered_material</h1>

<% form_for(@news_offered_material) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :customer %><br />
    <%= f.text_field :customer %>
  </p>
  <p>
    <%= f.label :material %><br />
    <%= f.text_field :material %>
  </p>
  <p>
    <%= f.label :offer_type %><br />
    <%= f.text_field :offer_type %>
  </p>
  <p>
    <%= f.label :offer_date %><br />
    <%= f.date_select :offer_date %>
  </p>
  <p>
    <%= f.label :state %><br />
    <%= f.text_field :state %>
  </p>
  <p>
    <%= f.submit 'Update' %>
  </p>
<% end %>

<%= link_to 'Show', @news_offered_material %> |
<%= link_to 'Back', news_offered_materials_path %>